package com.jinly.ryder.manage.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.jinly.ryder.manage.service.model.HostInstance;

import java.util.List;

public interface HostInstanceService {
    Page<HostInstance> instancePage(Page page, HostInstance query);

    void saveHost(HostInstance instance);

    void saveHost(List<HostInstance> instanceList);

    HostInstance getHostInstance(String host);

    HostInstance getInstance(Integer hostId);
}
